package com.ef.service;

import java.util.List;

import com.ef.domain.Role;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface RoleService extends BaseService {

	public PaginationSupport<Role> findByExample(
			CustomExample<Role> example, int startIndex, int pageSize);
	
	public void saveOrUpdate(Role entity);
	
	public void delete(Role entity);
	
	public Role findById(Long id);
  	
	public List<Role> findAll();
}
